package com.seres.backend.admin;

import java.util.ArrayList;
import java.util.List;

import com.seres.data.Stakeholder;

public class StakeholdersParserResult {
	private List<Stakeholder> stakeholders;
	private List<Integer> stakeholdersIds;
	
	public StakeholdersParserResult(){
		setStakeholders(new ArrayList<Stakeholder>());
		setStakeholdersIds(new ArrayList<Integer>());
	}
	public void addStakeholder(int id, Stakeholder stakeholder){
		getStakeholders().add(stakeholder);
		getStakeholdersIds().add(id);
	}
	private void setStakeholders(List<Stakeholder> stakeholders) {
		this.stakeholders = stakeholders;
	}
	public List<Stakeholder> getStakeholders() {
		return stakeholders;
	}
	private void setStakeholdersIds(List<Integer> stakeholdersIds) {
		this.stakeholdersIds = stakeholdersIds;
	}
	public List<Integer> getStakeholdersIds() {
		return stakeholdersIds;
	}
}
